package com.test.application.reflex_mechanism;


import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Dog {

    private String name;
    private Integer age;
    private String color;
    public String des;

    public String eat(String des) {
        return this.name + " 正在吃饭" + des;
    }

    public String run() {
        return this.name + " 正在跑步";
    }

    public Dog(String name, String color) {
        this.name = name;
        this.color = color;
    }

    public Dog(String name, Integer age, String color) {
        this.name = name;
        this.age = age;
        this.color = color;
    }
}
